Is there a way for a DXL script to run in a separate process/thread or through some other mechanism achieve "polling" where the script will idle and periodically perform some function without locking DOORS to other input?
|
Re: Periodic Polling
Not exactly a separate thread. But you can use the timer perms for implementing a polling. This is not a real "thread" since it will still lock the GUI while running but if the polling does not take too long you will have a nearly "multithreading" effect. I used this method to scan modules in the background it worked reasonably well. bool startTimer (int) bool stopTimer (DBE) DBE timer(DB,real,void (string)) DBE timer(DB,int,void (string)) bool stopTimer (int) bool startTimer (DBE) bool getTimerRunning (int) string getTimerName (int) bool isTimer (int) int getTimerInterval (int)
Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS
|
Re: Periodic Polling |
Re: Periodic Polling Zetareticuli - Wed May 12 09:06:39 EDT 2010 Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS |